package com.zero.youxiao.dao;

import java.util.List;

import com.zero.basic.dao.IBaseDao;
import com.zero.basic.exception.SmsDaoException;
import com.zero.mms.model.Dep;
import com.zero.youxiao.dto.DepDto;

public interface DepDao extends IBaseDao<Dep>{
	
	public List<Dep> getDepTree(Integer depNo,String depName,String depType) throws SmsDaoException;

	Integer getMaxLevel() throws SmsDaoException;

	DepDto loadDepInfo(Integer depId) throws SmsDaoException;

	public void updateDep(Dep dep) throws SmsDaoException;

	public void deleteDep(Integer depId) throws SmsDaoException;

}
